<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" >
    <title>上传游记</title>
</head>
<body>
<form action="/travelsContribute" th:action="@{/travelsContribute}" method="post" enctype="multipart/form-data">
    标题：<input type="text" name="travelTitled"/><br/>
    正文：<textarea rows="10" cols="50" name="travelContext"></textarea><br/>
    上传图片：<input type="file" name="multipartFile"  multiple/><br/>
    <input type="hidden" />
    <input type="submit" value="提交"/>

</form>

</body>
</html>